home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.19971216-19980424
/
000050_news@newsmaster….columbia.edu _Sun Jan 4 11:19:04 1998.msg
< prev
next >
Wrap
Internet Message Format
|
1998-04-22
|
3KB
Return-Path: <news@newsmaster.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id LAA26693
for <kermit.misc@watsun.cc.columbia.edu>; Sun, 4 Jan 1998 11:19:03 -0500 (EST)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id LAA11599
for kermit.misc@watsun; Sun, 4 Jan 1998 11:19:03 -0500 (EST)
Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: VMS: doesn't dealloc devices after use.
Date: 4 Jan 1998 16:18:59 GMT
Organization: Columbia University
Lines: 59
Message-ID: <68ocpj$59a$1@apakabar.cc.columbia.edu>
References: <34AF07E8.4A8A@videotron.ca>
NNTP-Posting-Host: watsun.cc.columbia.edu
Xref: news.columbia.edu comp.protocols.kermit.misc:8218
In article <34AF07E8.4A8A@videotron.ca>,
jf mezei <"[non-spam]jfmezei"@videotron.ca> wrote:
: CKermit 6.0.192 6 Sep 96 for VMS VAX.
:
: I have a script which does the following:
:
: SET SESSION LOG myfile.txt
:
: :loop
: SET HOST www.heaven.sky:80
: IF FAILURE end 1 goto hell ; sorry couldn't resist.
:
Actually you probably wanted this to be simply "if failure goto hell"
(but then you'll need a ":hell" label).
: SET TERMINAL ECHO ON
: OUTPUT POST /cgi-bin/ERIS.pl HTTP/1.0\13
: OUTPUT header text (about 10 outputs ended with \13)
:
Not that it's relevant to your complaint, but you really should put
an IF FAIL command after any communications-oriented command to catch
i/o errors, broken connections, etc; otherwise the script will keep
cranking away after the connection is gone.
: CONNECT
: GOTO loop
:
: Basically, this sends the equivalent of pressing the SUBMIT button on a
: form to a web server and then the connect just waist for the HTML
: results to be sent back to me (and logged to myfile.txt). After the
: results are sent, the remote server disconnects and the "CONNECT"
: statement automatically ends and the script continues.
:
: The PROBLEM:
:
: The script runs very fine for hundreds of transactions, but stops when
: trying to send the 242nd transaction.
:
: The message:
: Trying 0.0.0.0... (instead of the usual numeric address shown)
: TCP socket error: non translatable vms error code: 0x1B4,
: VMS Message
: %system-f-noiochan, no i/o channel available
: can't open connection to www.heaven.sky:80
:
: Further investigation revealed that after a CONNECT completes, the
: IPnnnn device is not deallocated and eventually, the process runs out
: of resources to allocate those devices.
: neither a "HANGUP" or a "SET HOST" after the "CONNECT" makes
: a difference.
:
: Stopping kermit and restarting it fixes the quota problem and you're
: good for another 242 transactions. (In my case, with current process
: quotas, your milage may vary, of course).
:
Hmmm, looks a lot like a bug. Well, you've got the workaround, and I've
got the report. Thanks.
- Frank